package com.qing.springbootinit.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qing.qingapicommon.model.entity.UserInterfaceInfo;

import java.util.List;

/**
 * 用户接口信息 Mapper
 * @author qingfengzy
 */
public interface UserInterfaceInfoMapper extends BaseMapper<UserInterfaceInfo> {
//    select interfaceInfoId, sum(totalNum) as totalNum
//    from qinggapi.user_interface_info
//    group by interfaceInfoId
//    order by totalNum desc
//    limit 3;

//    查询用户接口信息表中，按照指定的limie参数进行筛选
//    返回前limit条记录的接口信息列表
    List<UserInterfaceInfo> listTopInvokeInterfaceInfo(int limit);
}




